

#include "stdafx.h"
#include "pf_document.h"


/**
 * Constructor.
 *
 * @param parent Parent of the document. Often that's NULL but
 *        for blocks it's the blocklist.
 */
PF_Document::PF_Document(PF_Container* parent)
        : PF_Container(parent), PF_Undo() {

    PF_DEBUG->print("PF_Document::PF_Document() ");

    filename = "";
    autosaveFilename = "Unnamed";
	formatType = LX_Define::FormatUnknown;
    setModified(false);
    PF_Color col(LX_Define::FlagByLayer);
    activePen = PF_Pen(col, LX_Define::WidthByLayer, LX_Define::LineByLayer);
}


PF_Document::~PF_Document() {}

